package com.project.mapper;

import com.project.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface IUserMapper {

@Select("select *from t_user where u_name=#{userName} and u_pwd=#{pwd}")
@ResultMap("uMap")
    public UserBean login(@Param("userName") String userName, @Param("pwd")String pwd);
}
